class Base():
    def __init__(self,dr):
        self.dr=dr
    def open_url(self,url):
        self.dr.get(url)
    def find_element(self,loc):
        return self.dr.find_element(*loc)
    def send_keys(self,loc,info):
        self.find_element(loc).send_keys(info)
    def click(self,dj):
        self.find_element(dj).click()

    def test(self, log):
        return self.find_element(log).text()